home *** CD-ROM | disk | FTP | other *** search
/ The Third Dimension / Third Dimension, The (1996)(Davidson).iso / data / y.x < prev    next >
Text File  |  1996-05-24  |  8KB  |  393 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  28;
  136.  -2.010483;3.000000;-0.213301;,
  137.  -0.706141;3.000000;-0.213301;,
  138.  0.004502;1.074948;-0.213301;,
  139.  0.070094;1.270643;-0.213301;,
  140.  0.199404;1.642001;-0.213301;,
  141.  0.358698;2.094820;-0.213301;,
  142.  0.514243;2.534895;-0.213301;,
  143.  0.632308;2.868023;-0.213301;,
  144.  0.679159;3.000000;-0.213301;,
  145.  2.010483;3.000000;-0.213301;,
  146.  0.616189;-0.130445;-0.213301;,
  147.  0.616189;-3.000000;-0.213300;,
  148.  -0.571207;-3.000000;-0.213300;,
  149.  -0.571207;-0.130445;-0.213301;,
  150.  -2.010483;3.000000;0.213300;,
  151.  -0.706141;3.000000;0.213300;,
  152.  0.004502;1.074948;0.213301;,
  153.  0.070094;1.270643;0.213301;,
  154.  0.199404;1.642001;0.213300;,
  155.  0.358698;2.094820;0.213300;,
  156.  0.514243;2.534895;0.213300;,
  157.  0.632308;2.868023;0.213300;,
  158.  0.679159;3.000000;0.213300;,
  159.  2.010483;3.000000;0.213300;,
  160.  0.616189;-0.130445;0.213301;,
  161.  0.616189;-3.000000;0.213301;,
  162.  -0.571207;-3.000000;0.213301;,
  163.  -0.571207;-0.130445;0.213301;;
  164.  
  165.  52;
  166.  3;1,13,0;,
  167.  3;2,13,1;,
  168.  3;10,8,9;,
  169.  3;10,7,8;,
  170.  3;10,6,7;,
  171.  3;10,5,6;,
  172.  3;10,4,5;,
  173.  3;10,3,4;,
  174.  3;10,2,3;,
  175.  3;10,13,2;,
  176.  3;10,12,13;,
  177.  3;11,12,10;,
  178.  3;0,15,1;,
  179.  3;0,14,15;,
  180.  3;1,16,2;,
  181.  3;1,15,16;,
  182.  3;2,17,3;,
  183.  3;2,16,17;,
  184.  3;3,18,4;,
  185.  3;3,17,18;,
  186.  3;4,19,5;,
  187.  3;4,18,19;,
  188.  3;5,20,6;,
  189.  3;5,19,20;,
  190.  3;6,21,7;,
  191.  3;6,20,21;,
  192.  3;7,22,8;,
  193.  3;7,21,22;,
  194.  3;8,23,9;,
  195.  3;8,22,23;,
  196.  3;9,24,10;,
  197.  3;9,23,24;,
  198.  3;10,25,11;,
  199.  3;10,24,25;,
  200.  3;11,26,12;,
  201.  3;11,25,26;,
  202.  3;12,27,13;,
  203.  3;12,26,27;,
  204.  3;13,14,0;,
  205.  3;13,27,14;,
  206.  3;27,15,14;,
  207.  3;27,16,15;,
  208.  3;22,24,23;,
  209.  3;21,24,22;,
  210.  3;20,24,21;,
  211.  3;19,24,20;,
  212.  3;18,24,19;,
  213.  3;17,24,18;,
  214.  3;16,24,17;,
  215.  3;27,24,16;,
  216.  3;26,24,27;,
  217.  3;26,25,24;;
  218.  
  219.  MeshMaterialList {
  220.   1;
  221.   1;
  222.   0;;
  223.   Material {
  224.    0.000000;1.000000;0.000000;1.000000;;
  225.    27.200001;
  226.    0.819608;0.819608;0.819608;;
  227.    0.000000;0.000000;0.000000;;
  228.   }
  229.  }
  230.  MeshNormals {
  231.   74;
  232.   -0.000000;-0.000000;-1.000000;,
  233.   0.000000;1.000000;0.000000;,
  234.   -0.908571;-0.417731;0.000000;,
  235.   -0.000000;-0.000000;-1.000000;,
  236.   0.000000;1.000000;0.000000;,
  237.   0.938119;0.346312;0.000000;,
  238.   -0.000000;-0.000000;-1.000000;,
  239.   0.938119;0.346312;0.000000;,
  240.   -0.948158;0.317800;-0.000000;,
  241.   -0.000000;-0.000000;-1.000000;,
  242.   -0.946288;0.323326;-0.000000;,
  243.   0.000000;-0.000000;-1.000000;,
  244.   -0.943860;0.330345;0.000000;,
  245.   0.000000;-0.000000;-1.000000;,
  246.   -0.943086;0.332549;-0.000000;,
  247.   -0.000000;-0.000000;-1.000000;,
  248.   -0.942839;0.333249;-0.000000;,
  249.   -0.000000;-0.000000;-1.000000;,
  250.   -0.942554;0.334053;0.000000;,
  251.   -0.000000;-0.000000;-1.000000;,
  252.   -0.942381;0.334541;0.000000;,
  253.   0.000000;1.000000;0.000000;,
  254.   -0.000000;-0.000000;-1.000000;,
  255.   0.000000;1.000000;0.000000;,
  256.   0.913488;-0.406866;-0.000000;,
  257.   -0.000000;-0.000000;-1.000000;,
  258.   0.913488;-0.406866;-0.000000;,
  259.   1.000000;0.000000;0.000000;,
  260.   -0.000000;-0.000000;-1.000000;,
  261.   1.000000;0.000000;0.000000;,
  262.   0.000000;-1.000000;0.000000;,
  263.   -0.000000;-0.000000;-1.000000;,
  264.   0.000000;-1.000000;0.000000;,
  265.   -1.000000;0.000000;0.000000;,
  266.   -0.000000;-0.000000;-1.000000;,
  267.   -1.000000;0.000000;0.000000;,
  268.   -0.908571;-0.417731;0.000000;,
  269.   0.000000;1.000000;0.000000;,
  270.   -0.908571;-0.417731;0.000000;,
  271.   0.000000;0.000000;1.000000;,
  272.   0.000000;1.000000;0.000000;,
  273.   0.938119;0.346312;0.000000;,
  274.   0.000000;0.000000;1.000000;,
  275.   0.938119;0.346312;0.000000;,
  276.   -0.948158;0.317800;0.000000;,
  277.   0.000000;0.000000;1.000000;,
  278.   -0.946288;0.323326;-0.000000;,
  279.   0.000000;0.000000;1.000000;,
  280.   -0.943860;0.330345;0.000000;,
  281.   0.000000;0.000000;1.000000;,
  282.   -0.943086;0.332549;-0.000000;,
  283.   0.000000;0.000000;1.000000;,
  284.   -0.942839;0.333249;-0.000000;,
  285.   0.000000;0.000000;1.000000;,
  286.   -0.942554;0.334053;0.000000;,
  287.   0.000000;0.000000;1.000000;,
  288.   -0.942381;0.334541;0.000000;,
  289.   0.000000;1.000000;0.000000;,
  290.   0.000000;0.000000;1.000000;,
  291.   0.000000;1.000000;0.000000;,
  292.   0.913488;-0.406866;0.000000;,
  293.   0.000000;0.000000;1.000000;,
  294.   0.913488;-0.406866;-0.000000;,
  295.   1.000000;0.000000;0.000000;,
  296.   0.000000;0.000000;1.000000;,
  297.   1.000000;0.000000;0.000000;,
  298.   0.000000;-1.000000;0.000000;,
  299.   0.000000;0.000000;1.000000;,
  300.   0.000000;-1.000000;0.000000;,
  301.   -1.000000;0.000000;0.000000;,
  302.   0.000000;0.000000;1.000000;,
  303.   -1.000000;0.000000;0.000000;,
  304.   -0.908571;-0.417731;-0.000000;,
  305.   0.000000;0.000000;1.000000;;
  306.  
  307.   52;
  308.   3;3,34,0;,
  309.   3;6,34,3;,
  310.   3;25,19,22;,
  311.   3;25,17,19;,
  312.   3;25,15,17;,
  313.   3;25,13,15;,
  314.   3;25,11,13;,
  315.   3;25,9,11;,
  316.   3;25,6,9;,
  317.   3;25,34,6;,
  318.   3;25,31,34;,
  319.   3;28,31,25;,
  320.   3;1,40,4;,
  321.   3;1,37,40;,
  322.   3;5,43,7;,
  323.   3;5,41,43;,
  324.   3;8,46,10;,
  325.   3;8,44,46;,
  326.   3;10,48,12;,
  327.   3;10,46,48;,
  328.   3;12,50,14;,
  329.   3;12,48,50;,
  330.   3;14,52,16;,
  331.   3;14,50,52;,
  332.   3;16,54,18;,
  333.   3;16,52,54;,
  334.   3;18,56,20;,
  335.   3;18,54,56;,
  336.   3;21,59,23;,
  337.   3;21,57,59;,
  338.   3;24,62,26;,
  339.   3;24,60,62;,
  340.   3;27,65,29;,
  341.   3;27,63,65;,
  342.   3;30,68,32;,
  343.   3;30,66,68;,
  344.   3;33,71,35;,
  345.   3;33,69,71;,
  346.   3;36,38,2;,
  347.   3;36,72,38;,
  348.   3;73,42,39;,
  349.   3;73,45,42;,
  350.   3;58,64,61;,
  351.   3;55,64,58;,
  352.   3;53,64,55;,
  353.   3;51,64,53;,
  354.   3;49,64,51;,
  355.   3;47,64,49;,
  356.   3;45,64,47;,
  357.   3;73,64,45;,
  358.   3;70,64,73;,
  359.   3;70,67,64;;
  360.  }
  361.  MeshTextureCoords {
  362.   28;
  363.   0.000000;0.000000;,
  364.   0.000000;0.000000;,
  365.   0.000000;0.000000;,
  366.   0.000000;0.000000;,
  367.   0.000000;0.000000;,
  368.   0.000000;0.000000;,
  369.   0.000000;0.000000;,
  370.   0.000000;0.000000;,
  371.   0.000000;0.000000;,
  372.   0.000000;0.000000;,
  373.   0.000000;0.000000;,
  374.   0.000000;0.000000;,
  375.   0.000000;0.000000;,
  376.   0.000000;0.000000;,
  377.   0.000000;0.000000;,
  378.   0.000000;0.000000;,
  379.   0.000000;0.000000;,
  380.   0.000000;0.000000;,
  381.   0.000000;0.000000;,
  382.   0.000000;0.000000;,
  383.   0.000000;0.000000;,
  384.   0.000000;0.000000;,
  385.   0.000000;0.000000;,
  386.   0.000000;0.000000;,
  387.   0.000000;0.000000;,
  388.   0.000000;0.000000;,
  389.   0.000000;0.000000;,
  390.   0.000000;0.000000;;
  391.  }
  392. }
  393.